package ac.neec.data;

import java.io.Serializable;

public class User implements Serializable {
	public static int SEX_MEN = 0;
	public static int SEX_WOMEN = 1;
	public static int SEX_OTHER = 2;
	private String name = "工学mio太郎";
	private int height;
	private int weight;
	private int sex;
	private int age;
	private int targetHeartRate;

	public User(String name, int height, int weight, int sex, int age, int targetHeartRate) {
		setHeight(height);
		setWeight(weight);
		setSex(sex);
		setTargetHeartRate(targetHeartRate);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getTargetHeartRate() {
		return targetHeartRate;
	}

	public void setTargetHeartRate(int targetHeartRate) {
		this.targetHeartRate = targetHeartRate;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
}
